package cn.tedu.spring.diarray;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 测试类
 */
public class Test {
    /**
     * 测试数组属性注入
     */
    public static void main(String[] args) {
        ApplicationContext context=new ClassPathXmlApplicationContext("bean-diarray.xml");
        Person person=context.getBean("person",Person.class);
        System.out.println(person);
    }


}
